$(function(){
 
	var validator = $("#interest").validate({

		errorElement:'div',
		rules:{
			message:{
				 required:true,		 
				 minlength:20,
				 maxlength:300
			}
		},
		messages:{
			message:{
				required:"Please enter message",			
				minlength:jQuery.format("Please enter atleast {0} character"),
				maxlength:jQuery.format("Please enter maximum {0} character")
			}
		}
	});
});